From: Timm Bäder Date: Sat, 14 Dec 2019 13:33:38 +0000 (+0100) Subject: gl renderer: Shorten debug output impl X-Git-Tag: archive/raspbian/4.4.1+ds1-2+rpi1~1^2~321^2^2~443 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=a29b8fbef47e099558871b21b55fc99985515241;p=gtk4.git gl renderer: Shorten debug output impl This will leak a string but WHATEVER. --- diff --git a/gsk/gl/gskglrenderer.c b/gsk/gl/gskglrenderer.c index 1d1e3b93e3..1713c5e757 100644 --- a/gsk/gl/gskglrenderer.c +++ b/gsk/gl/gskglrenderer.c @@ -2521,17 +2521,7 @@ static inline void apply_clip_op (const Program *program, const OpClip *op) { - OP_PRINT (" -> Clip (%f, %f, %f, %f) (%f, %f, %f, %f), (%f, %f, %f, %f)", - op->clip.bounds.origin.x, op->clip.bounds.origin.y, - op->clip.bounds.size.width, op->clip.bounds.size.height, - op->clip.corner[0].width, - op->clip.corner[1].width, - op->clip.corner[2].width, - op->clip.corner[3].width, - op->clip.corner[0].height, - op->clip.corner[1].height, - op->clip.corner[2].height, - op->clip.corner[3].height); + OP_PRINT (" -> Clip: %s", gsk_rounded_rect_to_string (&op->clip)); glUniform4fv (program->clip_rect_bounds_location, 1, (float *)&op->clip.bounds); glUniform2fv (program->clip_rect_corners_location, 4, (float *)&op->clip.corner); }